package service

import (
	"api-gateway/pkg"
	"github.com/gin-gonic/gin"
	"net/http"
)

func Hot(c *gin.Context) {
	sum := pkg.GetSum(1231, 543, 543, 756, 534, 87685)
	c.JSON(http.StatusOK, gin.H{"code": 100, "msg": "热度值完成", "data": gin.H{
		"sum": sum,
	}})
	return
}
